Skip to content

Conversation

GuillaumeGomez
Copy link
Member

Part of #30669

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@sanxiyn
Copy link
Contributor

sanxiyn commented Jan 5, 2016

The intention in #29828 was that macro validity is checked in compile, so invalid macro never gets to generic_extension. This also has an advantage of providing better span. That's why span_bug was used.

Alas, it seems I missed some cases and caused regression. I think this is a good fix in the meantime.

@sanxiyn
Copy link
Contributor

sanxiyn commented Jan 5, 2016

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 5, 2016

📌 Commit 6e68cdf has been approved by sanxiyn

@bors
Copy link
Collaborator

bors commented Jan 5, 2016

⌛ Testing commit 6e68cdf with merge dbacacd...

bors added a commit that referenced this pull request Jan 5, 2016
@bors bors merged commit 6e68cdf into rust-lang:master Jan 5, 2016
@GuillaumeGomez GuillaumeGomez deleted the malformed_macro branch January 5, 2016 07:43
@brson brson added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jan 8, 2016
@brson
Copy link
Contributor

brson commented Jan 8, 2016

Backport to fix #30669

@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Jan 12, 2016
@alexcrichton alexcrichton removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants